% Generator: GNU source-highlight, by Lorenzo Bettini, http://www.gnu.org/software/src-highlite
{\ttfamily \raggedright {
\noindent
\mbox{}\textcolor{ForestGreen}{int}\ \textbf{\textcolor{Black}{gcd}}\textcolor{BrickRed}{(}\textcolor{ForestGreen}{int}\ a\textcolor{BrickRed}{,}\ \textcolor{ForestGreen}{int}\ b\textcolor{BrickRed}{)}\ \textcolor{Red}{\{} \\
\mbox{}\ \ \textbf{\textcolor{Blue}{if}}\textcolor{BrickRed}{(}b\ \textcolor{BrickRed}{==}\ \textcolor{Purple}{0}\textcolor{BrickRed}{)}\ \textbf{\textcolor{Blue}{return}}\ a\textcolor{BrickRed}{;} \\
\mbox{}\ \ \textbf{\textcolor{Blue}{else}}\ \textbf{\textcolor{Blue}{return}}\ \textbf{\textcolor{Black}{gcd}}\textcolor{BrickRed}{(}b\textcolor{BrickRed}{,}\ a\textcolor{BrickRed}{\%}b\textcolor{BrickRed}{);} \\
\mbox{}\textcolor{Red}{\}} \\
\mbox{}
} \normalfont\normalsize
